package io.github.harmonly.service;

import io.github.harmonly.entity.Finance;

import java.util.List;

public interface FinanceService {

    List<Finance> getFinances();

    List<Finance> getFinancesByAid(int aid);

    Finance getFinance(int fid);

    boolean addFinance(Finance finance);

    boolean deleteFinance(int fid);

    boolean editFinance(Finance finance);
}
